package com.jms.web.controller.system;

import com.jms.framework.web.service.SysLoginService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.ResponseBody;

import javax.servlet.http.HttpServletRequest;
@Controller
public class QSSLoginController {
    @Autowired
    private SysLoginService loginService;

    @GetMapping("in")
    @ResponseBody
    public String in(HttpServletRequest request){
        //获取ticket参数
        String ticket = request.getParameter("ticket");
        return loginService.loginQSS(ticket);

    }
}
